package com.shijunhao.graduation.domain.vo;

import com.shijunhao.graduation.domain.entity.BusinessUserInfo;
import com.shijunhao.graduation.domain.entity.OrgUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: shijunhao
 * @date: 2022/4/9 19:14
 * @description:
 */
@ApiModel("当前用户信息显示实体")
public class CurrentUserVo {
    @ApiModelProperty("用户账户信息")
    private OrgUser user;
    @ApiModelProperty("用户个人信息")
    private BusinessUserInfo userInfo;
    @ApiModelProperty("用户角色信息")
    private String role;

    public OrgUser getUser() {
        return user;
    }

    public void setUser(OrgUser user) {
        this.user = user;
    }

    public BusinessUserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(BusinessUserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
